export const jobCreateTypeDict = {
  ["BuiltIn"]: {
    label: "内置",
    type: "info"
  },
  ["Script"]: {
    label: "脚本",
    type: "warning"
  },
  ["Http"]: {
    label: "HTTP请求",
    type: "success"
  }
};

export const jobStatusDict = {
  0: { label: "积压", type: "warning" },
  1: { label: "就绪", type: "info" },
  2: { label: "正在运行", type: "success" },
  3: { label: "暂停", type: "danger" },
  4: { label: "阻塞", type: "danger" },
  5: { label: "由失败进入就绪", type: "info" },
  6: { label: "归档", type: "danger" },
  7: { label: "崩溃", type: "danger" },
  8: { label: "超限", type: "danger" },
  9: { label: "无触发时间", type: "danger" },
  10: { label: "未启动", type: "danger" },
  11: { label: "未知作业触发器", type: "danger" },
  12: { label: "未知作业处理程序", type: "danger" }
};
